package com.itheima.day07_Object_oriented_fundamentals;

public class Demo1_test {
    public static void main(String[] args) {
        Student s1 = new Student();
        s1.name = "张三";
        s1.chinese = 18;
        s1.math = 100;
        s1.printTotalScore();
        s1.printAverageScore();

        Student s2 = new Student();
        s2.name = "李四";
        s2.chinese = 100;
        s2.math = 100;
        s2.printAverageScore();
        s2.printTotalScore();

    }
}
